<seed-content #content>
  <seed-toolbar-header>
    <seed-toolbar-title>我的助力</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>

  <div class="haggle-nav-warp">
    <div class="haggle-nav" #haggleNav  seed-fixed-to-roof [content]="content" >
      <p *ngFor="let status of statusList;let i= index;"
         [ngClass]="{'active':isActive == i}"
         (click)="ChangeStatus(i)">
        {{status.name}}
      </p>
    </div>
  </div>

 <seed-infinite-scroll
      class="search-results"
      (infiniteScroll)="getMyHaggleList()"
    >

      <div class="haggle-list" *ngIf="haggleList.length > 0">
        <seed-haggle-item [haggleList]="haggleList"></seed-haggle-item>

        <seed-infinite-scroll-content
          class="load-bg"
          *ngIf="haggleList.length > 5"
        ></seed-infinite-scroll-content>
      </div>

    </seed-infinite-scroll>


    <seed-default-graph *ngIf="!hasData"
                        [text]="'暂无内容'"
                        [url]="'unifyPic'"
    ></seed-default-graph>

</seed-content>
